package com.parenting.request.platform;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@ApiModel(value="AddPlatformShopRequest", description="校验店铺是否存在条件")
public class AddPlatformShopRequest implements Serializable {

    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    @ApiModelProperty(value = "省份")
    private String province;

    @ApiModelProperty(value = "市")
    private String city;

    @ApiModelProperty(value = "区")
    private String area;

    @ApiModelProperty(value = "详细地址")
    private String shopAdd;

    @ApiModelProperty(value = "分类")
    private String classification;

    @ApiModelProperty(value = "联系方式")
    private String contact;

    @ApiModelProperty(value = "营业时间开始")
//    @DateTimeFormat(pattern = "HH:mm:ss")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "HH:mm:ss")
    private Date openingTime;

    @ApiModelProperty(value = "营业时间结束")
//    @DateTimeFormat(pattern = "HH:mm:ss")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "HH:mm:ss")
    private Date closingTime;

    @ApiModelProperty(value = "店铺面积(平米)")
    private Integer shopArea;

    @ApiModelProperty(value = "店铺主图")
    private String mainImageUrl;

    @ApiModelProperty(value = "店铺图片")
    private String imagesUrl;

    @ApiModelProperty(value = "视频")
    private String videoUrl;

    @ApiModelProperty(value = "开业时间")
    private Date openingShopTime;

    @ApiModelProperty(value = "店铺亮点")
    private String storeHighlights;

    @ApiModelProperty(value = "主营")
    private String mainBusiness;
}
